package cn.pomelo.signal.service;

import cn.pomelo.signal.model.SJob;
import org.quartz.SchedulerException;

public interface SJobService{


    int deleteByPrimaryKey(Long jobId);

    int insert(SJob record);

    int insertSelective(SJob record);

    SJob selectByPrimaryKey(Long jobId);

    int updateByPrimaryKeySelective(SJob record);

    int updateByPrimaryKey(SJob record);

    boolean run(Long jobId) throws SchedulerException, InterruptedException;

}
